package server.main.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import server.main.pojo.Account;
import server.main.pojo.AccountRole;

/**
 * @auther MingHsZzz
 * @Date 2022/10/11  13:48
 * @project main
 * @description
 */


public interface AccountRoleSercice  extends IService<AccountRole> {




    /**
     * 更新用户角色
     * @param preacc 先前用户
     * @param nowacc 当前用户
     * @return 是否成功
     */
    public boolean updateRoleBatch(Account preacc, Account nowacc);




}
